import request from '../utils/request'

export function postHistoryApi(data) {
  return request({
      url: '/msbd/postHistory',
      method: 'post',
      data
  })
}

export function getHistoryApi(params) {
  return request({
      url: '/msbd/getHistory',
      method: 'get',
      params
  })
}

export function getMsbdByHistoryApi(params) {
  return request({
      url: '/msbd/getMsbdByHistory',
      method: 'get',
      params
  })
}

export function deleteAllHistoryApi(params) {
  return request({
      url: '/msbd/deleteAllHistory',
      method: 'get',
      params
  })
}